package com.rxkj.entity.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 系统导航菜单
 * by alex
 * 2022-4-6
 */
@Data
@ApiModel("系统导航菜单实体类")
public class NavMenuVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "pid")
    private Long pid;

    @ApiModelProperty(value = "菜单名")
    private String menuName;

    @ApiModelProperty(value = "菜单code")
    private String menuCode;

    @ApiModelProperty(value = "菜单等级")
    private Integer menuLevel;

    @ApiModelProperty(value = "权限等级")
    private Integer authLevel;

    @ApiModelProperty(value = "菜单url/路由")
    private String menuUrl;

    @ApiModelProperty(value = "图标icon")
    private String menuIcon;

    @ApiModelProperty(value = "菜单顺序")
    private Integer menuOrder;

    @ApiModelProperty(value = "是否启用0 false，1 true")
    private Integer enabled;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "菜单备注")
    private String menuRemark;

    @ApiModelProperty(value = "备注")
    private String remark;

    //---------------------------------------------------
    @ApiModelProperty(value = "子菜单封装类型")
    private List<NavMenuVo> children;
}
